//
//  ProductListSortHeader.h
//  BaseProject
//
//  Created by 王洋 on 2020/8/10.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(unsigned long, ProductListSortType) {
    //综合
    ProductListSortType_Comprehensive           = 1,
    //热门
    ProductListSortType_hot           = 4,
    //价格升序
    ProductListSortType_prices_Ascending        = 3,
    //价格降序
    ProductListSortType_prices_Descending       = 2
};

@interface ProductListSortHeader : UIView

//综合
@property (weak, nonatomic) IBOutlet UIButton *comprehensiveBtn;

//价格
@property (weak, nonatomic) IBOutlet UIButton *priceBtn;

//最新
@property (weak, nonatomic) IBOutlet UIButton *hotBtn;


@property (nonatomic, copy) void(^ProductListSortHeaderBlock )(ProductListSortType type);

@end

NS_ASSUME_NONNULL_END
